import request from '@/utils/request'
/**
 * 四大交易-委托交易-分页查询
 * @param {*} params
 */
// 四大交易-委托交易-分页查询
export function entrustPageByQo(params) {
  return request({
    url: '/common/entrust/pageByQo',
    method: 'post',
    params
  })
}

// 四大交易-集采交易-分页查询
export function focusPageByQo(params) {
  return request({
    url: '/common/focus/pageByQo',
    method: 'post',
    params
  })
}

// 详情
export function focusGetById(params) {
  return request({
    url: '/front/focus/getById',
    method: 'post',
    params
  })
}

// 报名/取消
export function focusApplyOrCancel(params) {
  return request({
    url: '/front/focus/applyOrCancel',
    method: 'post',
    params
  })
}


// 四大交易-竞价交易-分页查询
export function biddingPageByQo(params) {
  return request({
    url: '/common/bidding/pageByQo',
    method: 'post',
    params
  })
}

export function biddingGetById(params) {
  return request({
    url: '/front/bidding/getById',
    method: 'post',
    params
  })
}

// 报名/取消
export function biddingApplyOrCancel(params) {
  return request({
    url: '/front/bidding/applyOrCancel',
    method: 'post',
    params
  })
}

// 四大交易-挂牌-分页查询
export function matchPageByQo(params) {
  return request({
    url: '/common/match/pageByQo',
    method: 'post',
    params
  })
}

export function matchGetById(params) {
  return request({
    url: '/front/match/getById',
    method: 'post',
    params
  })
}

// 报名
export function matchApply(params) {
  return request({
    url: '/front/match/apply',
    method: 'post',
    params
  })
}










